#the oldest version
cmake_minimum_required(VERSION 2.8)
#cmake project
project(HELLO)
#find package
find_package(OpenCV REQUIRED)
#include hpp
include_directories(${OpenCV_INCLUDE_DIRS})
#add kezhixingwenjian
add_executable(HELLO main.cpp)
#jiang kuwenjian lianjiedao kezhixing (.exe) shang
target_link_libraries(HELLO ${OpenCV_LIBS})